# using alpine-glibc instead of alpine  is mainly because JDK relies on glibc
from frolvlad/alpine-glibc

# author
MAINTAINER pivot "weivinner@gmail.com"

ADD jdk1.8.0_172.tar.gz /opt/jdk8/

ENV JAVA_HOME /opt/jdk8/jdk1.8.0_172 
ENV PATH $PATH:$JAVA_HOME/bin 
ENV CLASSPATH $JAVA_HOME\lib\dt.jar:$JAVA_HOME\lib\tools.jar